home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 1056 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.8 KB

  1. From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2. Date: Mon, 21 Feb 94 10:33:30 +0100
  3. Message-Id: <9402210933.AA11762@issan.informatik.uni-dortmund.de>
  4. To: ypelletier@cmc.aes.doe.ca
  5. In-Reply-To: <Pine.3.89.9402190001.A29316-0100000@cidsv07> (message from Yves Pelletier on Sat, 19 Feb 1994 00:52:39 +0000 (GMT))
  6. Subject: Re: MiNT 1.10: misc bug fixes
  7.  
  8. Yves Pelletier <ypelletier@cmc.aes.doe.ca> writes:
  9.  
  10. |> The following portion of your patch to Mint 1.10 is giving me a=20
  11. |> parsing error. Namely, gcc 2.5.8 complains that NORETURN does not
  12. |> have a type or storage class, then aborts the compile.=20
  13.  
  14. |> BTW I did apply the optimization patch before this one. Any ideas?
  15.  
  16. |>> diff -ur orig/proto.h ./proto.h
  17. |>> --- orig/proto.h=09Fri Feb 11 19:35:00 1994
  18. |>> +++ ./proto.h=09Thu Feb 17 21:21:24 1994
  19. |>> @@ -353,8 +353,8 @@
  20. |>> void ARGS_ON_STACK ALERT P_((const char *s, ...));
  21. |>> void ARGS_ON_STACK FORCE P_((const char *s, ...));
  22. |>> void PAUSE P_((void));
  23. |>> -EXITING void ARGS_ON_STACK FATAL P_((const char *s, ...));
  24. |>> -EXITING void HALT P_((void));
  25. |>> +EXITING void ARGS_ON_STACK FATAL P_((const char *, ...)) NORETURN;
  26. |>> +EXITING void HALT P_((void)) NORETURN;
  27. |>> void DUMPLOG P_((void));
  28. |>> void do_func_key P_((int));
  29. |>> =20
  30.  
  31. Please delete these lines from the patches. They are part of the
  32. patches to include the new way of gcc to declare non-returning
  33. function, and i forgot to remove all traces of it from the diff
  34. output. Sorry for that. I will post the patches about this change to
  35. the list in a day or so. (The symbol NORETURN will be #defined to
  36. `__attribute__ ((noreturn))' for gcc >= 2.4.)
  37.  
  38. Andreas.
  39.  
  40. ----------------------------------------------------------------------
  41. Andreas Schwab                                  "And now for something
  42. schwab@ls5.informatik.uni-dortmund.de            completely different"
  43.